package com.jgp.sys.ui.model;


import com.jgp.common.persistence.LONGModel;

import javax.persistence.Column;

/**
 * 项目   sys
 * 作者   loufei
 * 时间   2018/2/26
 */
public class Form extends LONGModel {
    @Column(name="data_source",length = 50)
    private String dataSource;
    @Column(name="method_type",length = 10)
    private MethodType methodType;
    @Column(name="title",length = 50)
    private String title;
    @Column(name="cols",length = 2)
    private Integer cols = 12;
    @Column(name="label_width",length = 10)
    private String labelWidth = "80px";
    @Column(name="models")
    private String[] models;

    public String getDataSource() {
        return dataSource;
    }

    public void setDataSource(String dataSource) {
        this.dataSource = dataSource;
    }

    public MethodType getMethodType() {
        return methodType;
    }

    public void setMethodType(MethodType methodType) {
        this.methodType = methodType;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


    public Integer getCols() {
        return cols;
    }

    public void setCols(Integer cols) {
        this.cols = cols;
    }


    public String getLabelWidth() {
        return labelWidth;
    }

    public void setLabelWidth(String labelWidth) {
        this.labelWidth = labelWidth;
    }


    public String[] getModels() {
        return models;
    }

    public void setModels(String[] models) {
        this.models = models;
    }
}
